package com.mdp.workflow.ru.vo;

import com.mdp.form.entity.FormDataVo;
import com.mdp.workflow.ru.entity.ProcinstNodeInfo;
import com.mdp.workflow.ru.entity.ProcinstParames;

import java.util.List;
import java.util.Map;

/**
 * 组织 com.qqkj  顶级模块 mdp 大模块 workflow  小模块 ru<br> 
 * 实体 Procinst所有属性名: <br>
 *	id,procInstId,businessKey,procDefId,startTime,endTime,duration,startUserid,startActId,endActId,superProcessInstanceId,deleteReason,tenantId,name;<br>
 * 表 WF.act_hi_procinst act_hi_procinst的所有字段名: <br>
 *	id_,proc_inst_id_,business_key_,proc_def_id_,start_time_,end_time_,duration_,start_userid_,start_act_id_,end_act_id_,super_process_instance_id_,delete_reason_,tenant_id_,name_;<br>
 * 当前主键(包括多主键):<br>
 *	id_;<br>
 */

/**
 * 启动流程所需要的参数
 */
public class ProcStartVo  implements java.io.Serializable {
	
	private static final long serialVersionUID = 1L;
	/**
	 * 流程实例变量，不可为空
	 */
	ProcinstParames procinstParames;
	/**
	 * 自定义表单数据，可为空
	 */
	FormDataVo formData;
	
	/**
	 * 各个任务节点的审批人设置，可为空
	 */
	List<ProcinstNodeInfo> nodeInfos;
	/**
	 * 提交给工作流流程实例持久化的变量池
	 */
	Map<String,Object> flowVars;
	
	/**
	 * 不用提交给流程实例的变量池
	 */
	Map<String,Object> extVars;
	
	/**
	 * 下一步处理人/多实例时，赋值给assigneeList流程变量
	 */
	String[] nextAssigneeList;
 
	

	/**
	 * 错误码
	 * need-single-assignee / need-mulit-assignee
	 */
	String tipscode;

	
	public ProcinstParames getProcinstParames() {
		return procinstParames;
	}

	public void setProcinstParames(ProcinstParames procinstParames) {
		this.procinstParames = procinstParames;
	}
 


	public String[] getNextAssigneeList() {
		return nextAssigneeList;
	}

	public void setNextAssigneeList(String[] nextAssigneeList) {
		this.nextAssigneeList = nextAssigneeList;
	}

	public String getTipscode() {
		return tipscode;
	}

	public void setTipscode(String tipscode) {
		this.tipscode = tipscode;
	}

 

	public Map<String, Object> getFlowVars() {
		return flowVars;
	}

	public void setFlowVars(Map<String, Object> flowVars) {
		this.flowVars = flowVars;
	}

	public Map<String, Object> getExtVars() {
		return extVars;
	}

	public void setExtVars(Map<String, Object> extVars) {
		this.extVars = extVars;
	}

	public List<ProcinstNodeInfo> getNodeInfos() {
		return nodeInfos;
	}

	public void setNodeInfos(List<ProcinstNodeInfo> nodeInfos) {
		this.nodeInfos = nodeInfos;
	}

	public FormDataVo getFormData() {
		return formData;
	}

	public void setFormData(FormDataVo formData) {
		this.formData = formData;
	}
}